package com.eccg.shopping.activity;

import com.eccg.shopping.R;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;
import android.widget.Toast;

public class XunCheActivity extends BaseActivity {

	private TextView tingquche_ting_tv;
	private TextView tingquche_qu_tv;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.tingquche);

		tingquche_ting_tv = (TextView) findViewById(R.tingquche.tingquche_ting_tv);
		tingquche_qu_tv = (TextView) findViewById(R.tingquche.tingquche_qu_tv);

		tingquche_ting_tv.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent();
				intent.setClass(XunCheActivity.this, TingcheActivity.class);
				XunCheActivity.this.startActivity(intent);
			}
		});

		tingquche_qu_tv.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				Intent intent = new Intent();
				intent.setClass(XunCheActivity.this, TingcheJiluActivity.class);
				XunCheActivity.this.startActivity(intent);
			}
		});
	}
	
	@Override
	protected void initHeader() {
		super.initHeader();
		titleTx.setText("停取车");
	}

	@Override
	protected int getMenuIndex() {
		return QUCHEINDEX;
	}

}
